package com.menhai.personmanagement.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.menhai.personmanagement.entity.PersonnelStatistics;
import com.menhai.personmanagement.entity.co.PersonnelStatisticsCo;

@Mapper
public interface PersonnelStatisticsMapper extends BaseMapper<PersonnelStatistics>{
	
	/*List<PersonnelStatistics> selectQuery(
			@Param("name") String name,
			@Param("sex") String sex,
			@Param("ageStart") String ageStart,
			@Param("ageEnd") String ageEnd,
			@Param("idnumber") String idnumber,
			@Param("telephony") String telephony,
			@Param("state") String state
		);*/
	
	IPage<PersonnelStatistics> selectQuery(
			@Param("page")Page<PersonnelStatistics> page,
			@Param("PersonnelStatistics") PersonnelStatisticsCo PersonnelStatistics);
	
	List<PersonnelStatistics> selectQueryExcel(@Param("PersonnelStatistics") PersonnelStatistics PersonnelStatistics);
}
